package com.zm.devmag.util;

import java.util.Random;

/**
 * Created by Administrator on 2017/3/21.
 */
public class RandomUtil {
    private static Random random = new Random();

    public static int getRandInt(int begin,int end){
        return random.nextInt(end-begin)+begin;
    }
}
